package com.jbinfo.mongoot.operation.archive;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 老人 基本信息
 * Created by wizard on 2017/3/31.
 */
@Document(collection="archives")
public class Archive implements Serializable {

    @Id
    private String id;
    private String cardid; //身份证号1
    private String name;//姓名1
    private String sex;//性别1g
    private String age;//年龄1
    private String birthday;//出生年月1
    private String xingzheng_title;//行政区1
    private String xingzheng_code;
    private String jiedao_title;//街道1
    private String jiedao_code;
    private String shequ_title;//社区1
    private String shequ_code;
    private String address;//详细地址1
    private String phone;//老人联系电话1
    private String education_level;//文化程度1
    private String religion;//宗教信仰1
    private String em_contactPerson;//紧急联系人1
    private String relationship;//与老人关系1
    private String em_contactPhone;//紧急联系人电话1
    private String company_name;//服务组织1
    private String company_code;//服务组织编码
    private String oldmedicare;//医保卡号
    private String oldhousetel;//住宅电话
    private String iflivealone;//是否独居
    private String native_place;//籍贯信息1
    private String subsistencetype;//低保类型
    private String comments;//备注1
    private Long plantime;//计划时长
    private Long resttime;//剩余计划时长
    private String created_by;
    private String created_date;
    private String update_by;
    private String update_date;
    private String invalid;//有效标记


    public String getCompany_code() {
        return company_code;
    }

    public void setCompany_code(String company_code) {
        this.company_code = company_code;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCardid() {
        return cardid;
    }

    public void setCardid(String cardid) {
        this.cardid = cardid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }



    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getXingzheng_title() {
        return xingzheng_title;
    }

    public void setXingzheng_title(String xingzheng_title) {
        this.xingzheng_title = xingzheng_title;
    }

    public String getXingzheng_code() {
        return xingzheng_code;
    }

    public void setXingzheng_code(String xingzheng_code) {
        this.xingzheng_code = xingzheng_code;
    }

    public String getJiedao_title() {
        return jiedao_title;
    }

    public void setJiedao_title(String jiedao_title) {
        this.jiedao_title = jiedao_title;
    }

    public String getJiedao_code() {
        return jiedao_code;
    }

    public void setJiedao_code(String jiedao_code) {
        this.jiedao_code = jiedao_code;
    }

    public String getShequ_title() {
        return shequ_title;
    }

    public void setShequ_title(String shequ_title) {
        this.shequ_title = shequ_title;
    }

    public String getShequ_code() {
        return shequ_code;
    }

    public void setShequ_code(String shequ_code) {
        this.shequ_code = shequ_code;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEducation_level() {
        return education_level;
    }

    public void setEducation_level(String education_level) {
        this.education_level = education_level;
    }

    public String getReligion() {
        return religion;
    }

    public void setReligion(String religion) {
        this.religion = religion;
    }

    public String getEm_contactPerson() {
        return em_contactPerson;
    }

    public void setEm_contactPerson(String em_contactPerson) {
        this.em_contactPerson = em_contactPerson;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getEm_contactPhone() {
        return em_contactPhone;
    }

    public void setEm_contactPhone(String em_contactPhone) {
        this.em_contactPhone = em_contactPhone;
    }

    public String getCompany_name() {
        return company_name;
    }

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public String getOldmedicare() {
        return oldmedicare;
    }

    public void setOldmedicare(String oldmedicare) {
        this.oldmedicare = oldmedicare;
    }

    public String getOldhousetel() {
        return oldhousetel;
    }

    public void setOldhousetel(String oldhousetel) {
        this.oldhousetel = oldhousetel;
    }

    public String getIflivealone() {
        return iflivealone;
    }

    public void setIflivealone(String iflivealone) {
        this.iflivealone = iflivealone;
    }

    public String getNative_place() {
        return native_place;
    }

    public void setNative_place(String native_place) {
        this.native_place = native_place;
    }

    public String getSubsistencetype() {
        return subsistencetype;
    }

    public void setSubsistencetype(String subsistencetype) {
        this.subsistencetype = subsistencetype;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Long getPlantime() {
        return plantime;
    }

    public void setPlantime(Long plantime) {
        this.plantime = plantime;
    }

    public Long getResttime() {
        return resttime;
    }

    public void setResttime(Long resttime) {
        this.resttime = resttime;
    }

    public String getCreated_by() {
        return created_by;
    }

    public void setCreated_by(String created_by) {
        this.created_by = created_by;
    }

    public String getCreated_date() {
        return created_date;
    }

    public void setCreated_date(String created_date) {
        this.created_date = created_date;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public String getUpdate_date() {
        return update_date;
    }

    public void setUpdate_date(String update_date) {
        this.update_date = update_date;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getInvalid() {
        return invalid;
    }

    public void setInvalid(String invalid) {
        this.invalid = invalid;
    }
}
